package com.moto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单记录表
 * </p>
 *
 * @author hyf
 * @since 2023-09-02
 */
@Getter
@Setter
@TableName("shop_moto")
@ApiModel(value = "ShopMoto对象", description = "订单记录表")
public class ShopMoto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单记录")
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer uId;

    @ApiModelProperty("车辆id")
    private Integer carId;

    @ApiModelProperty("配件id")
    private LocalDateTime category;

    @ApiModelProperty("订单时间")
    private LocalDateTime shopTime;

    @ApiModelProperty("订单状态 1：购买 0：购物车")
    private Integer isShop;
}
